<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>显示组合框中的选项图标 - jQuery EasyUI 演示</title>
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
	<h2 title="Show Item Icon in ComboBox">显示组合框中的选项图标</h2>
	<p title="This example shows how to display item icon in ComboBox.">　　本例展示如何呈现组合框中的选项图标</p>
	<div class="easyui-panel" style="width:100%;max-width:300px;padding:20px 20px 10px 20px;">
		<div style="margin-bottom:10px">
			<input class="easyui-combobox" style="width:100%;" data-options="
					showItemIcon: true,
					data: [
						{value:'add',text:'&nbsp;新增',iconCls:'icon-add'},
						{value:'del',text:'&nbsp;删除',iconCls:'icon-remove'},
						{value:'save',text:'&nbsp;存',iconCls:'icon-save',selected:true},
						{value:'cancel',text:'&nbsp;弃',iconCls:'icon-cancel'},
						{value:'undo',text:'&nbsp;撤销',iconCls:'icon-undo'},
						{value:'redo',text:'&nbsp;重做',iconCls:'icon-redo'}
					],
					editable: false, panelHeight: 'auto',
					label: '执行的操作：', labelPosition: 'left', labelWidth:85, labelAlign:'right'
					">
		</div>
	</div>
</body>
